# shell util
#
import shutil
#
f1_obj = open('/home/student/Desktop/1.txt', mode='r')
f2_obj = open('pic.txt', mode='w')
shutil.copyfileobj(f1_obj, f2_obj)
f1_obj.close()
f2_obj.close()
shutil.copyfile('/home/student/Desktop/1.txt', 'pic2.txt')
shutil.copy('/home/student/Desktop/1.txt', 'pick3.txt')

#
shutil.move('pic.txt', 'pick4.txt')
# shutil.copytree('/home/student/py001/test/day01', 'day09')
# shutil.rmtree('day09')

#
shutil.copymode('/usr/bin/ls', '/opt/myls')
#
shutil.chown('pick4.txt', user='root', group='root')